test2 Begin 0
: test directives
 		EQU 	1	: label required
A		EQU		10+10+10+10+10	: overflow
   		ACHR	'cccc'
A		ADRC	10		: repeated lable
		ALT		1+1+1	: test aritmitic
lab		AVERT 	A		: label not allowed
		BSS		12 
		DEBUG 	up		: wrong operand
		DEBUG	no
x3		DEC		10
		DUMP	1
		EXTRN 	elm 
x4		HEX		abc
x5		OCT		456
		PRMID	parm,1
		PRMLST	A
: test instructions
x6		ABS		=10		: no operands allowed
x97		CALL	elm,1 	
x7		ARS		10
x8		ADD 	=5		:  immediate value test
x9		AXR		1050
x10		ANA		x6		: 
x10		ANS		x6		: repeated label
x12		BYRL	5		: too big value needs to be 0-4
x13		BYRR	0		: test of min value 0 is allowed
x14		CHS		12		: no operands allowed
x15		CLS		1000		: test of direct mem reference
x16		CLA		%13		: test of indirect addressing 
x17		CAS		10*1*1+10 	: arithmetic test, shouldn't be allowed here
x18		DRXR	
x19		DVH		x1 		
x20		DVP		x1 		
x21		XCA		90001		: no operand allowed
x22		EORA	%13		: test of indirect addressing
x22		IOWD	x13,9,7	: repeated label, wrong xr number, invalid output type
x98		HALT			
x23		INCXR
x24		ALS		32		: max value test
x25		LD		=1048		: invalid operand
x26		LXRD	x%13,8	: invalid mem ref and index register reference
x27		LXRA	x13,1	
x28		LDMQ	x13		
x29		LGSL	0		: min value test
x30		LOR		x13		
x31		LORS	x13		
x32		LGLR	35	
x33		MOD		1000000000000000		: overflow
x34		MODQ			: no operand
x35		MPY		x13		
x36		MPR		x13		
x37						: label in wrong place?
x38		OR					       x13		: test of excess white space
x39		ORS		x13		: mem ref
x40		PAXR
x41		PXR		0 		:  min value index register
x42		PWR		2 		
x43		SARZ	
x44		ST		x43		
x46		SLW		x13		
x47		STMQ	x14		
x49		STZ		x15		
x50		SUB		=10		:  literal test
x51		TRA		x50		: mem ref or equ sym (no literals)
x52		TACZ	100000001010101010101010		: overflow
x53		TSXR	1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1+1		: oveflow
x54		TPL		x12		
x55		TNZ		x12		
x56 	TXRL	x12		
x57		TXRP	x12		
x58		TMQO
x59		TMQx	x12		: invalid instruction
	 					: no finish